#define _CRT_SECURE_NO_WARNINGS
#include"avl.h"
#include<vector>
int main() {
	AVLTree<int> A;
	vector<int> a = { 16, 3, 7, 11, 9, 26, 18, 14, 15 };
	for (auto& e : a) {
		if (e == 7) {
			int i=1;
		}
		cout << A.Insert(e) << endl;
	}
	cout << A.IsAVLTree() << endl;
	return 0;
}